It seems that Alexander VI had already reached an agreement with Cybo over the two fortresses and their unexpected purchase by his chief vassal with Neapolitan money (40,000 ducats) was considered by the Pope as an act of treason.
Alexander VI's agreement with Cybo over the fortresses was viewed as treason by the Pope because his chief vassal bought them using Neapolitan funds.