2019 impreza, do I need new head gaskets?

My wife's car stopped producing heat last week so I started down the track of diagnostics. I bought a thermostat thinking maybe it was stuck but decided to try just flushing and filling the coolant first. While I was doing that I noticed brown sludge popping up and wondering if my head gaskets are bad and I'm getting oil contamination or if it might be something else. I'm also not sure how the coolant level got so low to cause all the air bubbles I saw when I first just added some coolant. After refill I can't spot any leaks (though I will be going to autozone to borrow a pressure tester). Thankful for any insights!

My wife's car stopped producing heat last week so I started down the track of diagnostics. I bought a thermostat thinking maybe it was stuck but decided to try just flushing and filling the coolant first. While I was doing that I noticed brown sludge popping up and wondering if my head gaskets are bad and I'm getting oil contamination or if it might be something else. I'm also not sure how the coolant level got so low to cause all the air bubbles I saw when I first just added some coolant. After refill I can't spot any leaks (though I will be going to autozone to borrow a pressure tester). Thankful for any insights!