Some people will try to persuade you that human-produced CO2 is warming the atmosphere which is warming the oceans. This is wrong.
The energy content of the oceans is about 3 orders of magnitude (i.e. 1000x) larger than the energy content of the Earth’s atmosphere. About 5.95 x 10^21 Joules of energy are required to raise the temperature of the atmosphere one degree C. About 5.30 x 10^24 Joules of energy are required to raise the temperature of the oceans by one degree C. This means that a small, barely measurable change in the temperature of the oceans will result in a corresponding change in the temperature of the atmosphere. Also, this means that a huge (~1000x) change in the temperature of the atmosphere would be required to cause a small, barely measurable change in ocean temperature.
As a practical matter, except by some calamity like an all out nuclear war, human-contributions of any and all gases in any amount to the atmosphere cannot cause a significant change to ocean temperatures. Do the math. Ocean temperatures are controlling air temperatures, not vice versa. Tectonics, volcanics and the sun control ocean temperatures, but understanding how these three work is still challenging scientists. Climate is controlled by nature, and is not controllable by man.
You can heat the air in your bathroom by running hot water in your tub or shower. You cannot heat your bathwater by heating the air in your bathroom.