You don't know that. He could have been an airborne (non) shooter returning to the floor after a layup or finger roll.
In that case, the ball would become dead as soon as the ball passed through the basket. So the contact would be ignored unless intentional or flagrant.