Why different sources of finance have different cost?

why different sources of financing have different costs