That is horrible.
If you didn't want a baby girl. Don't get pregnant. Simple.
So selfish, so many people struggle to fall pregnant and they wouldn't care if it was a boy or a girl. Just healthy.
I hope these people who have done this can never get pregnant again.