How did the rishi explain the different ways in which the birds behaved?

The rishi said that there was a stark difference between the behaviors of both the birds because of the difference of company they lived into. He explained to the king the different conditions in which both the birds have lived and how it has affected their mindset and behavior.