this could be due to excessive burning of sugar by exercise and is physiological. Take fruit juices in plenty with additional glucose
in each glass and rest a while, it will be okay.
It is dangerous for heart too if you over exert beyond your physical capacity and both lungs and heart get overstrained. So avoid beyond endurance