I use a Pixel 7 Pro which has something audibly loose inside.
Pixel 8 user here. My phone also makes noises as if something is loose when I shake it. But I searched for what could cause that and the answer seems to be that the camera shutter is moving inside, which is not a problem. Maybe it is a similar situation with your phone.
Recently a user here did the math on that and the fair/eco part of fairphone is really miniscule (they spend less than 5$ per phone and a big part of that are fairwashing credits). Unless you need the repairability or the specific specs, you might be better off to buy a cheaper phone and just donate money to a good cause.
Here is the original post: https://lemmy.world/post/32013987