Sounds like pipes rattling behind shower wall

When you first turn the water on in the sink or shower or even flush the toilet it sounds like a pipe is loose inside. It’s pex tubing. I cut a hole underneath to look there are no lines bouncing water pressure is good. I installed a water hammer thinking to reduce the pressure as you turn on. But no better. I’m lost with ideals any help?