First thing you need to Give him 1-2 weeks no attn, no food, just maintenance. After and only after 1 full week do you offer a meal. You baby snake is terrified right now. That behavior you saw is called defensive striking. That's a stress response. Secondly. Make sure your temps are right 92.f floor temp of hotside. 80.f floor temp of cool side. And humidity at 50%. 2 days is really quick to offer food. In no way is she even thinking about food. There's 2 ways to go about this. Truly let her destress, offer no earlier than a week, and keep optimal husbandry. Or completely the opposite and meddle like us humans do and wonder then what happens.
Hope this helps!