Ticking sound

I'm happy everything is fixed and all, but skeptical Rick is skeptical lol If it was simply a header leak, why did it happen only when the oil was low? I also have a driver side header leak and it's ticking away till the engine warms up