"A spring’s mass increases whenever it is put into compression or tension. Its added mass arises from the added potential energy stored within it, which is bound in the stretched chemical (electron) bonds linking the atoms within the spring."

Mass–energy equivalence - Wikipedia, the free encyclopedia