just want to understand the logic behind it?

Just it.