Why can't I change the material of an imported mesh?

It seems it’s not just the mesh that matters. All my meshes have the material blocked.