Yes, so finding out your sex by ultrasound is technically illegal but if your technician gives you a thumbs up or down and pockets a neat bribe, who is watching or complaining? There are also thousands of illegal ultrasound clinics. Abortion btw is entirely legal in India and has always been since 1947 but sex selective abortion is not. But then how you make that distinction is quite difficult. I am very very very pro choice but while the PP’s friend was being goady, there is a more nuanced sensible argument to being made- that if we think that women should have access to abortion before a certain gestation no questions asked, then HOW do you prevent sex selective abortion? Incidentally sex selective abortions happen within British Asian families as well and there is some research on this.
As a small aside, my parents (both University professors) distributed sweets after my birth in the 1980s (my mum had a late stillbirth before me and many years of infertility). The nurses at the very upmarket private hospital in one of India’s largest cities were absolutely gobsmacked. They said this was the first parents of girls who had ever celebrated the birth in hospital in this manner. They apparently questioned my dad about whether he was ‘truly’ happy.
Sex selective abortion happens just as much in urban areas amongst the educated. Just that the methods are more sophisticated and the bribery rates are higher.