Well for one, iMessage runs over the internet and Apple isn't a telecom company (Verizon, etc)
Either way, the TL;DR is that either there must be a backdoor or something else to allow law enforcement to access communications that run over telecom companies. This doesn't apply when a user does it, but definitely when telecom companies design a messaging protocol.