You haven't forgotten they are coldblooded animals have you?.... switching from the warm to cool side and back again is basic thermo-regulation.