I assume that Zimmerman was such an egomaniac that he made sure all his avatars were straight. It at least explains why a hologram was apparently mimicing the orientation of a heterosexual male.
Barclay wrote the interpersonal subroutines.
He's over compensating for everything.
Gay or straight, the Doctor is ridiculously camp.