I’m no expert this is just from research,
“The more material, the more energy needs to be added to invoke a temperature change. Since the swimming pool contains more molecules, and there for more mass, more energy needs to be added to have the same temperature change as that of a bathtub. The bathtub will heat faster.”