Complex sentence: When an object's altitude is 0 °, it is on the horizon, if at that moment its altitude is increasing, it is rising, if its altitude is decreasing it is setting.
Split into simpler sentences: When an object's altitude is 0 °, it is on the horizon. If at that moment its altitude is increasing, it is rising, but if its altitude is decreasing it is setting.