2 different process monitors app report different results for the same process?

enter image description here

In the screenshot above I have a flatpak app called Resources on the left and on the right the default system monitor on my Fedora Gnome System Monitor and output from the top command.

Why, in the default system monitor, is the amount of ram consumed by a dms process is much lower than what is reported by top and by Resources? You can see these are the same process ID too.

I’m on Niri.