The rationale for these laws? Economics. It's more cost-effective to compost in most cases, and this is especially true where compostable waste is produced at a high rate. Check out this article in the the excellent magazine The Economist for more details.
If that piques your interest, The Economist also has a wealth of other articles about the economics of waste management in general, including articles about how these issues are affecting Seattle's waste management strategies.