May be a bladder/kidney infection. Possible blockage, kidney stone. I would however suggest him being see soon, even if you have an urgent care would be good to get a urinalysis to confirm if this is infection related, which if it is antibiotics will be needed. If left untreated could cause further complications.
Hope this helps, If you need anything else please feel free to ask. If you found this helpful don’t forget to click the *
accept* button!