Authorities say it was a member of the kingdom’s military who opened fire in a classroom at the U.S. Naval Air Station Pensacola—and now a terrorism angle is being investigated.