There are a few reasons your feet might hurt while wearing basketball shoes. First, if the shoes are too big or too small, they can cause rubbing and blisters. Second, if you have flat feet or high arches, the wrong type of shoe can exacerbate these problems and lead to pain. Third, improper break-in of new shoes can also lead to pain and discomfort. And finally, overpronation (rolling your feet inward when you walk) can put extra stress on the muscles and tendons in your feet, leading to pain. If you're experiencing foot pain while playing basketball, it's important to find out what the root cause is so you can treat it accordingly. Wearing the wrong size or type of shoe is a common culprit, so be sure to get fitted by a professional before making your purchase. If you have flat feet or high arches, look for shoes that offer support specifically for those issues. And always break in new shoes slowly - wear them around the house for short periods of time at first before taking them out on the court. If you're still having trouble after trying all of these things, consult with a podiatrist to see if there's an underlying issue that needs to be addressed.