What causes it
Brown, yellow, or grey tide marks on a ceiling almost always mean water has entered from above. Common sources include a leaking roof tile, defective lead flashing around a chimney or roof junction, a blocked or overflowing gutter discharging onto the soffit, a leaking pipe in the loft or in the floor above, or condensation forming inside a poorly insulated loft and dripping back down. The exact source can sit some distance from where the stain appears, since water travels along rafters and joists before showing itself.