The starter motor may be experiencing heat-related issues. When it gets hot, its electrical resistance can increase, making it less effective. You might hear the clicking sound when you attempt to start the engine. If it works after the engine cools down, this is a potential sign of a failing starter motor. When its hot, it requires more amps to turn over the engine, that's why you can jump start it as adding another battery increases the available amps.
Check the battery terminals and connections for corrosion or looseness (including the ground connections). Even if the battery itself is in good condition, poor connections can prevent the power from reaching the starter effectively.