https://en.wikipedia.org/wiki/Apple%E2%80%93FBI_encryption_d...
If Apple had simply had the text records, they would have had to comply with the government order to provide them.