Some fathers dislike that they have daughters. Allah mentioned this as a characteristic of the people of jahiliyyah:

“And when the news of [the birth of] a female [child] is brought to any of them, his face becomes dark and he is filled with inward grief!” [Al-Nahl (16:58)]