Male-female friendships can exist to an extent, but need really strong boundaries. The Ted Cruz rule is honestly really smart, don't be alone together.
Of the many male friends I've had in my life, exactly one wasn't sexually or romantically interested in me.
One.