The three steel balls are added to the top cap to increase friction and make it more difficult for the top cap to loosen and potentially cause leaking. This allows the user to fill the tank with a single hand, but reduces the risk of accidental leakage.