The suspect in a shooting that killed three people and injured several others at a naval base in Pensacola, Florida, on Friday morning was a member of the Saudi Air Force who was in the U.S. for training. Two Escambia County sheriff's deputies, who were at the scene immediately after reports of shots fired at about 6:50 a.m were injured in an exchange of gunfire with the shooter, who had a handgun. The basic reason for terrorism is attention and to spread fear. When a military is helping another and there is no message left people are left with intended fear but are also left with confusion. This action was most likely done for attention back home rather than to spread a message to America. 

Sources:

https://www.tandfonline.com/doi/full/10.1080/09546553.2016.1228630

https://www.washingtonpost.com/national-security/2019/12/06/naval-station-pensacola-active-shooter/

Pain (7)