It’s not actually downgrading them; rather this is a a display bug in Discover where the “before” and “after” versions are reversed in the UI.
This bug was fixed months ago for Plasma 5.27.6; see 448521 – 'Update' page shows the version of the flatpak currently installed instead of the version of the update available. Is your Steam Deck using an older version of Plasma?