Why are the Sonoff SNZB-04 door/window contact sensors so huge?

I promise this isn’t meant to be a rant — I’m genuinely curious if there’s a reason. The main part measures 1" × 1.75" × 0.5", and the magnet part is 0.5" × 1" × 0.5. But when I opened it to test the battery, I found it the actual device takes a fraction of that space. It could easily be smaller in all dimensions. I didn’t open the magnet side, but I assume the same is true. Is there a functional reason this is so big?