I don’t know if this is a Sonoma thing, but macOS’s text replacement setup screen is much clearer than the one on iOS. I always type the wrong one first on iOS.

macOS text replacement shows “Replace” and “With” fields, iOS shows “Phrase” and “Shortcut” fields.