One....if a ball hits another ball always has to be a foul cuz you cannot easily replace them.
Two...it is your choice to put them back or not. I've seen guys "put them back" where there was no longer a shot. Not much you can do about it.
This guy hopefully learned something. Probably not.