So my wall of diorite turn into command blocks for an unusual reason. But, eventually it came back to normal when I reloaded the world.

(also the saw of the stone cutter also got glitches).

Why is this happening in my world?