I'm not sure if this is the case in the States or not (things often work differently there

),
but I believe check-in agents are supposed to verify that the passenger has appropriate documents to enter his/her destination.
If the agent fails to check documents properly and you are refused entry at your destination, the airline gets a hefty fine.