You may have whipped the marshmallow too long, causing excessive aeration or not cooked your sugar to the correct final temperature.