The second sentence has an inappropriate change in tense, if you read that sentence out loud you will find that something is not harmonious, it does not seem right. This is because there was an inappropriate verbal change when the word "panted" was written, the correct would be to write "panting".