It was/is called the "1033 Program". Obama attempted to limit the program, not necessarily stop it. But, it didn't matter, because naturally, Trump reversed all that. And it's been a steady flow of military equipment to the cops ever since.
It’s pretty disingenuous to try to pin this on Trump. (And I’m no fan of Trump.) Both parties are very complicit.