First of all, the intensity of protection is different. German trademarks are strongly protected in Germany, while EU trademarks protect all EU member states. Because if you plan to open a company in Germany, you must protect your brand name. To prevent them from rushing to register, registration in the EU will be wider, and registering a German trademark separately in Germany will protect your interests more.