It is refreshing that you didn't automatically set out to kill these beautiful and harmless black rat snakes. They were probably looking for frogs - opportunity means life. Could also be they were looking for other snakes, or anything to eat, and mentioned, needed to warm up.