As a Muslim, I can say there is something definitely different about Ramadan. It’s supposed to help your spiritual development, so it’s not surprising at all that judges would display more mercy at that time. If anything these two conflicting studies could point to the effect of an intentional spiritual focus, rather than hunger itself.