Term:

Misgendering

Attributing a gender to someone that is incorrect or does not align with their gender identity. For example, using the incorrect pronouns.