I guess post scarcity go BRRR, but if I was Chief Engineer and caught some flunky using my precious reactor output to replicate ice there’d be a pointed discussion on thermodynamics
Maybe if we tuned the transporter’s annular confinement beam to match the warp core’s frequency we could slow down the particles in the stew, cooling it appropriately!
Why would it remove energy? It doesn't create liquid water and then freezes it. It creates matter with a certain energy level. Creating ice would probably just cost a minuscule bit less energy than the same amount of liquid water
For some reason I always assume the matter is created at ambient temperatures, but then it could just use the outside space for freezing ambient temps.