I think today my poops were much more solid and my stomach feels better
Why do you think that's the case?
People get older and wiser, poops get sturdier.
It's good to be mindful of your digestive health and to eat healthy foods to have regular bowel movements. If you do not eat well, then your digestive tract will suffer, and you will suffer long-term health complications and medical expenses.
I guess I should eat fewer sweets and snickers to manage my health better.
It is good that you are considering your health. As we get older we do have to be more careful about what we eat in order to be healthy.  It seems like you are doing well, so I hope you can keep it up.