Sexual harassment is sometimes, but not always, motivated by sexual desire. Sometimes it is motivated by contempt for or hostility toward one gender. Perhaps some people are pigs who like to intimidate others. Whatever the case, sexual harassment is unlawful. You do not have to put up with it.