A sudden refusal like this, often called a nursing strike, is very common around nine months and usually isn't about your milk supply. Teething pain, a cold or ear ache, or biting followed by your own reaction to it can all make your baby pull back from the breast. It's rarely permanent, and most babies return to nursing within a few days to two weeks.
Next Steps
Try offering the breast when your baby is calm and sleepy rather than hungry and frustrated, in a quiet room with fewer distractions. Keep expressing your milk during this time to protect your supply, and keep offering at every feed even if he refuses.
Health Tips
See your pediatrician if your baby also runs a fever, seems unwell, or his wet diapers and feeding drop off. That combination points beyond a simple nursing strike.