The balls bounced downhill before filling the Barcaccia fountain , leaving surprised passers-by and tourists snapping pictures of a scene that recalled the indoor-playground ball pits that spark joyful frolicking by children of all ages .