To be fair it's to protect smaller clubs from bigger clubs coming in and stealing good managers.
It's the risk you take, give someone you believe will be good (or why appoint him?) a 3 year contract so that at the end of the first year a team have to pay compensation to take him off your hands.