In a light a/c the most probable reason is a wind change.
Because of what you've explained you must have encoutered a Headwind and suddenly encountered a changing wind, most probable to a Tailwind. This will seriously degrade your climb gradient. Same problem for Jet aircraft