Preheat the oven to 350°F (175°C).
In a mixing bowl, combine the drained crushed pineapple, shredded cheddar cheese, and sugar.
Pour the mixture into a greased baking dish.
In another bowl, mix the crushed Ritz crackers with melted butter until well combined.
Sprinkle the cracker mixture over the pineapple mixture.
Bake for 30-35 minutes, or until the topping is golden brown and bubbly.
Serve warm as a side dish or comforting treat.