I don't have your issue, but something similar.
If my MacBook Pro 14 heats up from doing something intensive, there will be a small click from the chassis. It sounds like a sharper and quieter mouse click sound.
From my testing, it seems related to the bottom panel rubbing against the chassis due to thermal expansion.
Kind of annoying but I already went through several returns related to QC defects. Might remove the bottom panel and reseat it to see if it fixes it.