Make a pass at (someone)

To make romantic advances to someone.

The man was fired because he made a pass at one of the women who he works with.