Phobia is a fear of something so homophobia is a fear of homosexuals.
Usually it means that they are afraid that they are gay themselves.