I'm not sure what that could be. I know that when urine is sticky or like syrup in humans that could be signs of diabetes. Not sure if that is a complication for dogs also. Does he drink a lot of water or seems to be thirsty?
I'm sure someone else will be able to suggest some other things. I'm
not sure what that could be. Hope you find an answer soon. It's always best to take them to the vet to have it checked out.