It doesn’t have to be Illustrator — there are lots of image processing apps that use layers to edit documents, and the layers stay if you are stupid/lazy enough to forget to flatten it before publishing it.
Why would a person creating a document out of layers split individual words and sentences across multiple layers, seemingly randomly (see my post above for an example)?