If she’s very sleepy while drinking the milk, she may not be controlling the speed of drinking well and hence choke on the milk.
Actually, for your consideration, it might be a good time to stop night feeds since she’s already 2 years old:) let her drink more before bed time, then let her sleep through the night. Tell her there will be no more milk at night so she can sleep better:)