Why does imsssage predictive text bold and italicize some words?

My husband’s iPhone will randomly give him the option to bold or italicize words in his predictive text. Only certain words. Anyone know why this is? Or how to add the feature? All he does is type the random words and the option appears. Words like thank and immediately.
I turned predictive text off years ago, mostly because of the totally bizarre results !
I use SwiftKey as my default keyboard. Don't see that with SwiftKey.

Original thread: https://forums.imore.com/threads/why-does-imsssage-predictive-text-bold-and-italicize-some-words.399274/