Pat Fitzgerald, 67, has long loved being a Catholic, and the part he loved maybe most of all, for the past quarter-century, was his role as a spiritual mentor at retreats for students at a church-affiliated high school in Indianapolis, where he lives.

But he has been told that he’s not wanted anymore. His crime? He publicly supported his daughter, a guidance counselor at the school, after its administrators moved to get rid of her because she’s married to a woman.

The school’s treatment of Shelly Fitzgerald, 45, was a big local story last summer that went national; she ended up on “The Ellen DeGeneres Show” in September. It was one of many examples of Catholic institutions deciding almost whimsically to exile longtime employees — not priests or nuns but coaches, teachers, counselors — who had long been known to be gay but were suddenly regarded as liabilities.

Maybe they had quietly married their partners, formalizing those relationships and inadvertently drawing attention to themselves. Maybe some homophobic parent or congregant had belatedly learned about them and lodged a complaint. That’s what happened to Shelly Fitzgerald, and her 14 years of fine work at Roncalli High School no longer mattered. Only her 2015 marriage to her longtime partner did. She was told that she could stay on if she dissolved the union. She said no thanks and was kicked off school grounds in August.