Appearing on Fox News, psychologist Dr. Robi Ludwig questioned whether suspected mass shooter Elliot Rodger was secretly gay.

The 22-year-old Rodger on Friday gunned down six people near the University of California Santa Barbara.

In a now deleted YouTube video titled Elliot Rodger's Retribution, Rodger said he hated the women who had rejected him and the men they gave themselves to.

“All you girls who rejected me and looked down upon me and treated me like scum, while you gave yourself to other men,” Rodger said in the video. “And all of you men for living a better life than me. All of you sexually active men. I hate you.”

Appearing on Fox News' Justice with Judge Jeanine, Ludwig targeted Rodger's sexual orientation as a possible motive.

“When I was first listening to him, I was like, 'Oh, he's angry with women for rejecting him,'” Ludwig said. “And then I started to have a different idea: Is this somebody who is trying to fight against his homosexual impulses?”

“Was he angry with women because they were taking away men from him?” she added.

Later she added, “Was he angry at the men for not choosing him? This was a kid who was just angry in general. He probably felt rejected. He couldn't connect. He couldn't feel loved. He couldn't feel successful. Maybe he couldn't even feel like a real man?” (The video is embedded on this page. Visit our video library for more videos.)