I had the same noise. Mine ended up being the rear brake line where it exits the chain stay. There is supposed to be a cable clamp there holding it to the stay, but it seems Specialized didn't put it on all bikes. I ended up disconnecting it at the lever end and twisting the brake line a bit...
New to the forum and e-bikes. Been riding for 20+ years and just recently got a 2022 Turbo Levo Expert that is now heavily modded. ;) This bike is a game changer. My Amish bike is now covered in dust. LOL