Too many things indicate it was something backed by the deep state...
"Prior to their respective assassination attempts targeting Trump, Ryan Routh and Thomas Crooks had extraordinary proximity to U.S. Intelligence, demonstrated foreknowledge of Trump’s schedule and security, and acquired skills that intelligence agencies have a history of sharing with assets."