If creating money causes it to lose value, why is the US Dollar Index at more than a 15 year high?

If creating money causes it to lose value, why is the US Dollar Index at more than a 15 year high?
The Fed’s broadest measure of the money supply, called M2, is more than $21.6 trillion today, up from $15.5 trillion in February 2020. That is a 40 percent increase. However, during the same time, the US Dollar Index has increased 9 percent from 98 to 107. That is the highest it has been since 2003.
If creating money causes it to lose value, why is the US Dollar Index at more than a 15 year high?
Post Opinion