Ok at a pool party with men and women and female and male children, female and male teenagers. Perfectly acceptable for men , boys, teenage males to not wear a top. But if a female is not wearing a top, this could definitely be construed as a sexual situation.

it becomes unacceptable, gender does matter.