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

The oil wasn't low this time, that's why i thought it was strange till i found the leak