Trucks loud and knocks after exiting car wash

The past several times I’ve gone through a car wash, the engine was very loud (almost like no muffler) and was knocking upon startup and exiting the car wash. After a few minutes it cleared up. Any ideas what this is?