The involvement of oxygen during carbide makes the shape of the material less connected, which is more beneficial for metal nanoparticles to enter the void.
In the process of carbonization, the presence of oxygen makes the morphology of the material lose connectivity, which is more beneficial for the metal nanoparticles to enter the void