Last time I looked, an Australian Frigate is embedded with the US carrier strike group based in Japan.
So a US-China conflict automatically drags in Australia.
This is not something that the average person in Australia actually realises.
I'm sure the Frigate has Rules of Engagement as to when a conflict starts they won't automatically jump in, but instead wait for orders from a higher Australian chain of command.
Say for instance out of nowhere this US carrier strike group, patrolling in the Pacific, is attacked without any provocation by China. Obviously the Frigate would defend itself and the US ships in the group.
But now let's say, this US CSG is sailing towards the Taiwan strait or some other contentions waters near China during times of high tension between China and US and the world can spot the precipitous of a conflict, I'll bet that you won't find the Frigate sailing with the CSG towards this conflict.
Allies embed the ships with US CSGs all the time to train with the US tactically, but on a strategically level, it means nothing.
Just because they sail ships together in times of peace doesn't means they will fight together. .