It also upsets their "I'm not sexist but men and women are different, so women should serve god and men and accept that they are not really people". Basically, if girls learn to code, they learn a useful skill that might get them a well paid job, making it more difficult that they become housewives dependant on a men and, therefore, eager to please him and easily controlled.
Many intelligent girls, apply for a scholarchip or loans and leave the home once they are 18, basically going low or no contact once they have the opportunity. It is becoming difficult for them to find women willing to marry their sons because the hate and the sexism. So they are trying to deny them opportunities so they can't run away from their crazy.