Unity values in inspector change while playing (testing)

My variables stay changed permanent while in play mode in Unity.

It seems like only the values inside my scriptable objects stay changed after playing, and the variables outside of scribtable objects go back to default when I quit playing.

For exmaple I have a public variable “int gold” that can go up and down while playtesting, but goes back to 0 when I quit playtesting.

But I also have a variable inside a scribtable object “int amount killed”. This number goes up, but does not go back to 0 after playtesting.

I can think of a few ways to solve this problem, one of which is setting all values to my desired values at the start of the game, but I am wondering what the most common way to do this is. And why do only values inside scribtableObjects stay while playtesting?

Thank you for your help!