I think this is intentional due to the fact that soul sand is slightly smaller than one block, so the hitbox collides with the lava
I think this is intentional due to the fact that soul sand is slightly smaller than one block, so the hitbox collides with the lava