There are a couple of reasons rice krispies treats become hardened. Using stale marshmallows tend to make rice krispies treats hard and overcooking the marshmallow. Resist turning up the heat on the marshmallows. Keep them on low temperature and stir often