it’s hard to say. but many things can temporarily stain the tongue including pepto-bismol candy throat lozenges etc. it may be that one of the materials stained his tongue. i would not be too concerned.
while brushing his teeth my son noticed the back of his tongue was black. is this something that needs to be treated?