The change that is chemical from the options provided is:
B. Water undergoing electrolysis: liquid water becoming oxygen and hydrogen molecules.
This process involves breaking the chemical bonds in water (H₂O) to produce separate elements (oxygen and hydrogen), which is a chemical change.
The other options (A, C, and D) involve physical changes, where the substance remains the same chemically despite a change in state (solid, liquid, or gas).