In California, if an employee claims to feel uncomfortable, afraid or in some way bullied or coerced, they can claim to have been sexually harassed. The problem for employers and managers is that the behavior is sometimes unintentional or hard to classify, which can still cause problems.
Harassment of all types are rightfully unlawful and unwanted in any workplace. However, the reality of working with other people is that undesirable and even unlawful behavior occurs. When it is done out of ignorance of the law and workplace policies, the matter can usually be resolved without legal action.