Yeah, when you introduce friction you add some more “internal energy tanks” for the system and its surroundings i.e. the mass in the ball can change temperature, or the mass in the space around the ball can change temp, sound, light, and maybe some exotic things I don’t think/know about. These...