Is it at all possible that perhaps this little guy was feeling stressed out? I know that some types of snakes will
puff out their jaw/throat/neck area when they feel threatened,
or stressed.

Just a thought. Hope everything turns out well for you!