Kidney stones form when crystals in the urine stick together. These crystals are made from chemicals in the urine.