Will someone tell me why the calories in hay don’t have the same effect as processed grain besides the fact there is so much fiber in hay? Thank you

Will someone tell me why the calories in hay don’t have the same effect as processed grain besides the fact there is so much fiber in hay? Thank you