So I found that very weird that the knockback didn't work as intended so I tried to replicate what happened there, and I found out that, this only happens if the player who gets hit is in midair and left the ground without jumping (so by running off a platform's edge)