Grütze means groats, as the pudding was once thickened with grains such as semolina or sago before starch.
A grain pudding turned fruit pudding.