People get confused when they're maturing. You can't deny it, but men can look at men's appearance and be pleased. Not sexually, but from their image.
Now, when people don't like the other sex for a reason, they tend to like their same sex. They didn't choose to, but they're curious. That's the human nature, curious at its finest. Reasons why there's weird adult videos or experiments.