This is because the original line has slope 2. Parallel lines have equal slopes.
--------------------------
Perpendicular slope = -1/2
The original slope 2 or 2/1 turns into -1/2 after flipping the fraction and the sign. Note the original slope and perpendicular slope multiply to -1. This is true for any pair of perpendicular lines where neither line is vertical.