Those restrictions are not put in place by the airlines, they are Federal regulations issued by the Transportation Security Administration, which is the part of the Department of Homeland Security responsible for security in the air travel industry.
The sites the others listed above will give you a complete list of what's banned, what's permitted, the quantity limits of what's permitted, and the regulations on how you must pack and carry what's permitted.