Yeah, Ash was an a-hole toward Bayleef in the beginning of this episode.
When he says "now get away fro me and stay away fro me!" I thought "wow dude, harsh much!?"

Glad he admitted what he did was wrong and uncalled for at the end, and apologized to his poor Bayleef.