The use of high fat cream, like heavy cream, is the key to a thickened final dish. As it reduces in the pot before baking it will get really thick and then as it bakes it will thicken further to a dense sauce.