Answer:
Excitement. Dogs also pant when they are excited. Panting is a normal behavioral response when something exciting happens, like meeting new people or getting a treat. This type of panting can be rapid and shallow, and it's often accompanied by whining.
Explanation: hope this help. :)