Not only does eating mistakenly during fasting hours in Ramadan not break the fast, but it is actually considered a blessing from Allah SWT. It is a sign of Allah’s love that He makes people forget that they are fasting. It is also recommended that if you see a person eating or drinking while they are fasting, do not remind them right away. Let them finish, because what they are doing is due to Allah’s love.
One thing that I don’t understand is, why is eating and drinking in public banned during Ramadan in a lot of countries, especially in the Middle East. The whole purpose of fasting is to go through the day like a person would normally, to feel what a poor person goes through. Are people banned from eating and drinking in public throughout the year because there are poor people on earth who don’t have enough to eat?