The financial penetration accelerated by economic globalization and financial liberalization has inevitably induced market co-movement and the rising likelihood of cross-market risk contagion. An in-depth analysis concerning the carrier of risk contagion, i.e., market connectedness network, is of great significance for risk management. This study aims to establish a holistic framework to shed light on the topological dynamics and the evolving channels of connectedness network among 24 major stock markets in two aspects; namely, a dynamic perspective juxtaposing crisis and non-crisis periods, and a contrasting perspective between risk absorption and risk spillover. To this end, a methodological framework of the generalized variance decomposition and generalized exponential random graph models (GERGM) is constructed, in which the former method formulates the asymmetric causal relationships of stock return volatility among countries and regions into weighted and directed networks, and the latter method simulates and models the varying attributes of different contagion channels in the formation of tie directions and weights. The results indicate that the global stock market network reflects typical event-driven and time-varying characteristics. Countries and regions that rely heavily on foreign direct investment (FDI) are more likely to absorb risks, especially during the post-crisis recovery period, while countries and regions with higher foreign portfolio holdings are more inclined to risk spillover, especially during the subprime crisis. Geographical proximity and bilateral trade volume amplify risk contagion, whereas foreign exchange reserve holding improves robustness. This holistic framework allows the identification of the direction and intensity of risk contagion and the clarification of priority of risk transmission channels in different stages, thus reducing the uncertainty of risk management and providing insights into the macro-prudential managements toward sustainable economic development.