Apparently he was wanted in Saudi (for actual violent crimes, not the benign stuff people usually get in trouble for like apostasy and drinking alcohol), and Germany denied extradition. So now he attacked the country that actually protected him. If they actually acted like he wanted immigration wise he would’ve been sent back.
That’s basically the case for all of these guys, there’s always a mental health element to this.