Just looked it up because I didn’t know why either.
Apparently in the early days of basketball, the court was surrounded by a cage of chicken wire or rope to keep the ball from going into the spectators’ area and the players came to be referred to as cagers.