In order to fire a German employee outside of their multiple month trial period they have to commit a crime or willfully ignore instructions, or the company must be in financial trouble due to outside circumstances. Underperforming is not a legal reason to fire somebody.