Being a slang for "having eaten too much bread in one sitting", "painful" is derived from the French word "pain" (meaning "bread") and the English suffix "-ful".
After binge-eating too much bread in one sitting, I'm now feeling painful due to having my stomach full.