This might happen if the powdered sugar is exposed to humidity and heat. As a result, it will start melting and caramelizing. The best way to fix it is by sifting away the molten lumps and storing them properly this time around.