During the Pennsylvanian, when some great peat (coal) deposits were laid down, all or some of these factors were operating that favored peat accumulation.
There is quite a prolific literature attempting to address the relative importance of those factors in the development of thick coal measures. Although I don't follow this literature very closely, it seems clear that the waxing and waning of ice sheets in the Late Paleozoic played a major role in the climate/vegetation dynamic across Pangea.
My sense is that evaluation of many of the classic cyclothem successions are likely extracting the most robust signal, in part because the repeated marine incursions offer an important indication of relative sea level (and often its trajectory).
Here are a few relevant publications that might be a good starting point for further research: