Assuming for the sake of argument that foreign aid makes sense at all, this is not as silly as it sounds; less silly than giving away multiples of this amount to Israel every year, for instance, which has a much more tenuous relationship to OUR national security.
Pressure from the Central American states (and transients in them from points farther south, like our good pals Venezuela and Ecuador) are as big a problem for Mexico as Mexicans (Plus everyone who can sneak across their southern border on their way north) is for us. There are also problems with 'Exported revolution' from the Lefter of the countries to the south destabilizing Chiapas State and the Yucatan generally.