AUKUS is one of these huge deals with the results coming many years after huge investments creating great uncertainty. That makes it easy to attack politically.
EDIT: What's missed by the original commenter is that Australia was already investing in submarines from France. If delivered, there would be similar outcomes. The project had just as much uncertainty around it and was off-track when AUKUS was announced.