the ones I've seen referenced are mostly juveniles. and males during mating season. As the snakes get bigger, climbing gets harder and they also become larger, more obvious targets. They will still try to go up for a meal though, if they smell one and they're hungry. As all things in nature when you're an opportunity predator, sometimes a risk is worth it.