And how come its ok for boys to sit in a lesson and say it but not girls?
Huh?
I wouldn't say there is that big of a taboo about it, just that it's not seen as more common or frequent for girls to masturbate than it is for guys. Plus, guys are associated more with being sex obsessed, etc, and so masturbation is going to come under that.