A lot of snakes do this it is perfectly normal it sensed it was dead and ate it. happens in the wild too so don't fret