If it helps, it was happening to me and if it's a mod thing perhaps my list of mods will help you narrow it down.
I recently turned off class abilities to make tailored gambeson (first playthrough, chose commoner, and the tailored gambeson was too sweet). I set my world hunger to 25% with no change. Switching a torch into/out of my off hand corrected the problem. For reference I am running 1.21.5 with the following active mods:
Armor Recycling Lite 1.0.2
Auto Map Markers 4.0.3
Blood Trail 1.1.1
CommonLib 2.8.0
Item Pickup Notifier 1.7.3
Molds 0.2.1
Panning Machine 1.0.6
Particles Plus 2.3.1
Player Corpse 1.12.0
Projectile Tracker 1.0.5
Prospect Together 21.1.1
Recycling Tools 1.4.4
Simple Bed Respawn 1.0.0
Sonitos Recipe Pin 1.0.1
Status Hud 3.3.1
Alternately if I knew the JSON tag that might set this, I could perform some sort of recursive search for it.