Your armpits get hard on your shirts because the acidity in sweat reacts with active ingredients in deodorants like aluminum and the fabric of your shirt. It gets wet and then dries hard and crusty.