A bug in iMessage could cause an iPhone to become unusable due to a boot loop. The issue has been fixed in iOS 12.3 and macOS 10.14.5, released on May 13th. Turning off iMessage can also prevent the bug. The bug was significant enough to potentially cause data loss if the phone had to be wiped to recover from it.