The DOD gives this shit away (to our rural towns and cities) so they can consider it in use and order more from contractors, which gives more cash to the lobbyists and contractors. Rinse and repeat. It's very straightforward.
On MRAP front the military is getting rid of them for a good reason. They ordered the initial batch very quickly and ended up several different platforms [0]. None of them fit the bill perfectly and having several variants made logistics and vehicle operations difficult. They then did a real procurement program and ended up purchasing several thousand M-ATVs. The surplus MRAPs went into this law enforcement give away system [1].