Magnetic marbles are composed of ferromagnetic materials, which indicates that they function as a magnet and have the ability to attract other objects formed by ferromagnetic materials. In this case, we can say that the magnetic marbles attract each other and inside a jar containing magnetic marbles and common balls, the magnetic marbles will tend to attract and group together.