Registering a company in US (Delaware) can be achieved in as little as 1 hour.
Getting married in Germany, particularly between a German and a foreigner, is anything from a 6 month to 2 year process, involving significant expenses, notarization/translation of documents. Some documents expire after 6 months, so if the government bureaucrats are too slow you need to get new copies, translated again, notarized again, and try to re-submit.
This isn't protecting human rights, it's supporting a class of bureaucrats/notaries/translators/clerks and making life more difficult for ordinary people. It's also a form of light racism that targets foreigners/migrants by imposing more difficult bureaucratic requirements and costs on them compared to by birth citizens.