By absorbing X-rays, metal can hide the underlying tissue, so it can affect the X-ray. Certain modified plastics can affect it as well, so it’s just better to remove them.