At an elemental level, the materials of a suitcase are more or less identical to an explosive. You won’t easily be able to tell them apart with an x-ray. This is analogous to why x-ray assays of mining ores can’t tell you what the mineral is, only the elements that are in the minerals.
FWIW, I once went through an airport in my travels that took an infrared spectra of everyone’s water! They never said that, I recognized the equipment. I forget where, I was just impressed that the process was scientifically rigorous. That would immediately identify anything weird that was passed off as water.