Definition of transphobia
: irrational fear of, aversion to, or discrimination against transgender people Homophobia and transphobia are still major issues among LGBTQ youth, who are at higher risk for verbal harassment by classmates …— Erica Lenti
Key word here is discrimination