The problem is that it takes a lot of effort to fire people. And every time you do, you increase your exposure to legal trouble.
As this is a normal contractual regulation there is almost no risk of any legal trouble (usually).
On the other hand side as soon as this trail period ends all the German workplace protection regulations start to apply in case of permanent employment contracts. So after the trail period ended it gets quite difficult for an employer to get rid of an employee.
But all in all that's pretty fair, imho. After a half year you quite surely know whether you like the workplace, or form the other perspective, the employee.