https://www.theguardian.com/world/2016/jul/25/bomb-attack-southern-germany
27 year old asylum seeker from Syria whose application was rejected but whose stay was nevertheless "tolerated" (Germany sends no one back to a war zone) tried to get into a music festival, was refused entry and blew himself up, injuring 12 others, 3 of them seriously.
Where jihadist background cannot be confirmed it can't be ruled out either (the bomb was filled with "metal parts") and where the man had tried to commit suicide twice before and had been in psychiatric treatment, why use a maximum damage device this time if this was just going to be his third attempt?
Of course he could have just decided to have many share his plight and just had neither a pilot's licence nor a job with German Wings.
Story still unfolding but it's clear that he wanted to get into the music festival where the explosion would have killed many others as well.