Why does this happen?

The 6 represents 600 because it is in the hundreds place. When you borrow from it, you are borrowing 100. The 3 in the tens column represents 30. When you add 100 to it, it becomes 13 tens, which is 130. This makes it possible to subtract the numbers in the tens column
(13 tens – 7 tens = 6 tens).