Hoglins when first introduced in Java and Bedrock had the same hitbox size as an adult pig(0.9x0.9), that was eventually fixed in Java being changed to 1.4 x 1.3965 but never changed in Bedrock and that's why Hoglins and Hoglins can fit in 1x1 holes
Baby Hoglins and Zoglins also have the wrong hitbox sizes but that's not as noticeable since they fit in 1x1 holes no matter what! In BE they have a hitbox of 0.85x0.85 when it should be 0.7 x 0.6982 which is half of the hitbox size of an adult Hoglin and Zoglin in Java
If changed to accomodate the same hitbox size as Java then Hoglins will have a somewhat long range because in Bedrock they have a reach multiplier of 2.5 instead of 1.4
I checked the code and the only difference is the width. I made a behavior pack that fixes this issue. It's a very easy fix and I think someone just made a small mistake when coding this in.
Thank you for your report!
However, this issue has been closed as Working as Intended.
If you need help or have a suggestion you might like to follow a link below.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki