Chosen Solution

Why does my oil light come on when the motor gets warm?

Noah is right. Another possibility is degraded oil and more probable, a worn oil pump. ( a tooth wheel pump ) Change the oil and look carefully for metal-chips. Check ( by taking it to pieces ) your oil pump then! Good luck !