Sometimes. If the sender and the receiver are both using iMessage, then the Apple-only service is using end-to-end encryption to transmit these texts. This is much better than standard SMS, but the system is not completely secure. iCloud backups including iMessage history may be accessible by Apple.