Diagonal movement allows you to clip through things.
Neither of the adjacent walls that you are clipping through can have fence collision.
This is typically done using knockback.
Bombs apparently let you clip diagonally #NintendoSwitch pic.twitter.com/D8hNBT9KU1
— CloudMax (@CloudMax94) June 17, 2019