The most probable reason for this would be – you’ve put them in the refrigerator. It's too cold inside the fridge, due to which the potato's cell structure changes and makes them hard in the center (this happens even after they're cooked!).