Anticipatory repudiation/anticipatory breach
This means that company Y anticipates that company X does not intend to to honor the contract based on what they were told. Even if the breach hasn't occurred yet, company Y can begin the lawsuit/recovery process because of the anticipation of loss.