Because they are warm and need to feed, amongst other reasons.
Remember as they as cold blooded reptiles they behaviour differently in the warmer months..