See the pediatrician, and don't wait if he is in pain.
Its possible it is cloudy, and I would say he may have a UTI a unrinary tract infection, he will need some meds so A visit to the doctor would be good .it would also give him tummy pains hence the crying. Let us know what they say ...good luck