I've found HDR to be pretty buggy right now. Even on Apple's own apps like imessage as you've noticed, but this also occurs on instagram.
iOS needs to be better about sending/uploading an SDR version of a video when required. We shouldn't have to turn off HDR completely in the settings in order for this to work reliably.