Connection between AUD CPI Y/Y and USD Currency Index

Hello, this is my first post here, actually created this account because I have been reading for a while but could not find the answer myself. Maybe you people know so I can learn too.

I was waiting on AUD CPI news last night, I was expecting that it would be something higher than even the expected, anyway I was right on that but I tried to long AUDUSD pair and hit my stop loss pretty quickly. Then I noticed DXY (USD Currency Index) jumped in the middle of the night without any data regarding it. So I am guessing it must be connected to AUD CPI data somehow. I would really appreciate it if anyone can explain it to me because if I’d chosen AUDNZD instead of AUDUSD, I would have made a lot of money but I thought since stock market is closed, day is almost over in USA, things would be pretty flat on USD side.

I really would like to understand so I will not repeat this mistake in the future. Any help is appreciated.