Yellow liquid diarrhea could be caused by several things, including bacterial infection or a virus. In some instances, this could also be caused by an allergic reaction to new medications, foods, or food additives.
Yellow liquid diarrhea can be amoebic dysentery, especially if it is smelly and accompanied with stomach pain. Worth a trip to your pediatrician in case medication is required.