Racial profiling, but instead it's about gender expression.
Really, the critique is/should be about how there isn't enough societal pressure saying "Don't be a fucking rapist" to men in general. Unfortunately that's hard to change, it takes time and energy and there's a significant amount of pushback. So it's easier to be cautious with how you interact with strange (and rationally, familiar) men. There is a statistically significant non-zero chance they will seek to do women harm. So stating "Men are dangerous", while not especially helpful in combating that very idea, is technically true.