Doppler broadening is driven by the fact that the source of light is moving towards (blue shifting) or away (red shifting) from the observer. This can be due to random thermal motion or in the context of stellar spectra, the rotation of the source (i.e. if the star is rotating, one half rotates towards the observer, while the other half is rotating away).
Pressure broadening is driven by the fact that atoms colliding with each other cause changes in the energy levels of the electron.