The White House says Iran-backed militant groups are behind the attack. It comes amid the conflict in the Middle East that the U.S. has been working to keep from spreading through the region.