If it was a physical change it could go back but it can't so it is a chemical change because it has changed its molecules
There are two types of scientific changes/reactions, a chemical change is a change where it cannot be turned back, like burning paper and the ash can't be turned back. The other is a physical change where the change can be turned back, e.g. Dissolved salt can be evaporated and returned to its original form