The transition of Keras from a multi-backend library to primarily a TensorFlow API was driven by several factors, including TensorFlow's increasing popularity and Google's strategic decision to integrate Keras as its official high-level API. This move allowed for deeper integration with TensorFlow's advanced features, like eager execution and distributed training, which multi-backend Keras 2.3.0 did not fully support, and consolidated development efforts onto a single, better-maintained codebase.