"Capirotada is a traditional Mexican dessert, similar to what we know of as a bread pudding. In this variation, a baguette is sliced and toasted then layered with fruit in a dish and drizzled with a spiced fruit syrup. This dish is often eaten in Mexico around Easter time and carries a rich symbolism to the Passion of Christ."
Combine guava, piloncillo, orange zest, cinnamon sticks, cloves, and allspice in a saucepan; add water. Bring liquid to a boil; reduce heat and simmer until a syrup forms, about 10 minutes. Strain syrup into a bowl.
Melt lard in a skillet over medium-high heat; fry baguette slices, working in batches, until golden brown, about 2 minutes per side. Drain on a paper towel-lined plate.
Arrange a layer of fried bread in a baking dish; top with half of the raisins, half of the pecans, half of the pineapple, and half of the cotija cheese. Drizzle half of the syrup over the top. Repeat layering with remaining fried bread, raisins, pineapple, cotija cheese, and syrup. Top with sprinkles. Let stand until bread has absorbed the syrup, 1 to 2 hours.