There are many possibilities as to what the problem may be. It could be a blockage in the cooling system somewhere, the cooling fans not turning on, thermostat stuck closed, quality of the head gaskets, if it was repaired correctly etc. etc.
Since it was a Subaru dealership I'd assume they...