what are the two opposing forces that keep stars between collapsing and inflating?