'bout sums it up, much to the disappointment of media outlets on both sides hungry for a strawman slam dunk...
When you're a son of a pro-terrorist father and you pledge allegiance to Isis before executing 49 people, and maiming 50 more, ideology is still the reason.
We already know that all Islamists are crazy and mentally unstable by virtue of their nonsensical system of ethics. The father that honor-killed both of his daughters for dating Hispanics, for instance, stalked them everywhere obsessively, keeping an eye on their behavior. By Western standards, that is erratic behavior, but still easily attributed to his moral foundation.
The fact that Tameen was a dude that liked other dudes is just a hilarious cherry on top. I can just imagine what was going through his head at the time: "Dammit, why can't I quit you!? Allahu Akbar!"