Because that's literally what buying shares is?[0]: Giving money to the corporation so they can finance future endeavours. Yes, you may not buy shares from them directly but from some other gambler. Still, to be able to sell you shares they need to have given it to Chevron first.
[0] Please correct me if I'm unknowingly bullshitting here!