In this case, the onus was on Perry to ask, “gays, as in gay people?”, and things could have gotten cleared up long before offence was taken.
Because there are just too many damn homophones in the English language. To take offence at one without confirmation is just stupid.