Amid global climate change, industrial restructuring, and increasing geopolitical uncertainties, understanding the spatiotemporal evolution and drivers of fossil and non-fossil energy trade is essential for revealing the transformation of global energy trade patterns, anticipating energy transition pathways, and enhancing national energy security. Using data from 50 countries during 1990-2022, this study develops a temporal analytical framework to identify the polarization and equalization patterns of fossil and non-fossil energy import and export trade and applies the generalized Divisia index decomposition model to quantify the contributions of key driving factors. The results show that: (1) For fossil energy trade, most countries exhibited net import-polarizing trends, including the United States, Japan, China, and India, while fewer countries, such as Mexico, Australia, and Indonesia, remained net exporters. (2) For non-fossil energy trade, most countries also demonstrated net import-polarizing characteristics, particularly in Japan, Norway, and Italy. (3) Fossil energy trade polarization is mainly driven by fixed capital formation and economic development, whereas relative factors, such as trade intensity, play a more prominent role in promoting trade equalization. The polarization and equalization patterns of non-fossil energy trade are primarily shaped by relative factors, including per capita net energy trade, net energy trade intensity, and fixed capital formation trade intensity.