In a typical tremolo equipped guitar we have a couple of springs that are stretched between the bridge and the body. When you hit the strings bridge and body resonate and cause the springs to resonate too. Pickups are not that far from the springs at all. In most guitars there’s no more than half an inch of wood between them and wood doesn’t do anything to prevent the pickups from picking up vibrations from the springs.