It does seem we're missing part of the story and what led the mom to go about things as she did.
The fact that whoever left that baby there included the birth cert and SS card means that they intended for the baby to be identified. That, along with the cash, is not the work of a disorganized mind.
Whatever the backstory is, the baby and his family need prayer and lots of it.