You have it exactly right. I surmised as much as soon as I read about his wife-beating 4 month marriage.
I’m betting the marriage was his attempt to prove he was really OK and attracted to women not men. It didn’t work, so he blames the wife and heads back to his gay life knowing Allah will not be pleased. What to do, what to do? Kill a few gays and head for Heaven.
He did have a live-in girlfriend and a 3 year old child at the time of his death.