That’s a line of reasoning worthy of, well, a muslim. Using the same logic, I can “prove” you’re a muslim.
A. Some muslims commit mass murder with aircraft.
B. A German guy committed mass murder with an aircraft.
Therefore, C: The german guy is a muslim.
This is the logical fallacy of the undistributed middle, I believe. Google it.
About 5 years ago an Egyptian pilot drove his plane into the ocean while giving praise to allah. So the question is relevant.