My iPhone does some of the same weirdness on changing what I think I've typed.
Half the time it changes my name from Patty to Party! Got my FIL all confused when I sent him birthday greetings. He thought it was somebody messing around.
And my friend's daughter sent her mom something and it changed mamacita to manacles, which in the context of the sentence (which I of course can't remember) made it really funny!