I would give more credence to him having an ideology if he picked up and moved to Yemin and lived there for years integrating with society and then one day launches a terror attack at a mosque.

This guy was an opportunist who has severe mental health issues and was most likely just tired of seeing his countrymen run over in cars by islamic terrorists.