I had a bowel movement and my stool was sorta yellow. Could it be something I ate?

Not to worry. Possible. Either way i would not be too worried.
Changed stool color. The color of stool varies with foods, speed of emptying of the GI tract, medications & supplements ingested, gut flora (unique for each individual), additives (like blood), subtractions (like absent bile), infection, inflammation, & other factors. Consider what you ate in the last few days, but if yellowish color is unusual for you & persists or is accompanied by other symptoms, see your doctor.