A surgical repair of a patent ductus arteriosus was performed via thoracotomy in a four-month-old Labrador puppy. In recovery, the puppy is found in his cage, crying and whining. His breaths are short and fast. When a technician attempts to comfort him, he tries to get away, cowers in the corner, and cries louder. Which of the following is the best explanation of this scenario?