Anything can cause foot pain when playing basketball. Just about any foot problem can be an issue when playing basketball. Basketball put great loads on the foot, especially with all the running, jumping, accelerating and braking and pivoting on the foot. This means that the potential for something to go wrong with the foot is high. If there is already something wrong with the foot, then the potential for them to be made worse by basketball is high.