It does and in two ways
-
running a refrigerator with an open door in a closed room makes the room warmer not cooler. The fridge just moves heat around but there is inefficiency too that comes out as excess hear
-
using energy to cool your personal space, increases global warming leading to a need for more air conditioning