Because it made us laugh. It's not attacking an individual or being sexist towards an individual. It's funny. Sorry if you disagree.
(also I feel I should point out that jokes about race tend not to be equivalent in offensiveness to jokes about sex, so this whole premise is largely irrelevant)