Which wouldn’t have the potential if the larger sun didn’t form first to create the gravity to allow the rest to form.
This is simply incorrect. The gravitational potential of the body would be there regardless of what else is going on around it. And either way, the OP’s question was not about some hypothetical where the sun doesn’t exist, it’s about where energy came from in the real world.
Star != Sun is just pointlessly pedantic. You’re not trying to learn anything, just be a smartass.
? The OP’s question was literally “is there energy on earth that didn’t come from the sun.” I am not the one being pedantic here.