Paneer becomes hard when it has been cooked and exposed to heat for too long. The exposure to heat through cooking causes loss of water and it to dry up. It is a delicate type of Indian cottage cheese, and only needs to be cooked for a short period. Some people like to soak paneer in water for a few minutes to give it extra moisture so that the water lost during cooking doesn’t affect the texture too much.