This is a normal cold characteristic of these engines. It’s piston slap and after some heat gets in the piston is goes away. I’ve torn down engines on a few of your body style because it was pretty loud only to find nothing wrong. Some can get pretty noisy but like every Subaru pretty much, it’s normal!