I wouldn’t say that’s homophobic. In the setting this is in, it’s easy to write new students if you want to explore homosexuality or any other concept, so why make a character who has never really seemed gay into a gay person just for the sake of it? Making him ace makes much more sense.