A man named Thomas tried to shoot a former president named Donald at a big gathering in Pennsylvania.
The man used a special kind of gun called an AR-style rifle, which he got legally, meaning he was allowed to buy it.
The police found the gun near where Thomas was standing, and they are trying to figure out why he did it.
They are looking at everything that happened before the shooting to understand what made Thomas do this.