You are correct. We can determine what an object is made out of or at least behaves like based on the reflected EM waves. Every piece of matter has an associated electric permittivity and permeability. These can, and often do, change with temperature and the other environmental variables.