Combat Rules

Hostile [Attitude]

Source
XPHB

A Hostile creature is unfriendly and aggressive toward you and might attack if given the opportunity.

A creature's attitude — Friendly, Indifferent, or Hostile — can influence how it reacts to you in and out of combat, and some features key off whether a target is Hostile.