The temperature of the oceans is determined by the earth itself, not its atmosphere.
I mean it’s not as if below the ocean sea bed it gets hot or anything. /s