Someone I work with also has a Subaru Forester (2013 I believe?) and the same issues with his Pixel 2 and head unit combination.
He found a solution accidentally! While receiving a call and reaching into his backseat he realized the static was gone. I suspect either the radio/phone antenna are...