What if my connection was on a different airline?

If booked on a single ticket (even with different airlines), the first airline is generally responsible. If booked separately, each airline is only responsible for their own segment.