Why is the stock market always rising? I asked myself: How is it that the stocks are always rising? How is money generated every year so that the value of a company rises?

I mean, at some point there is a finite amount of money in the system, isn't it? Right now people assume that the stock market is overheated and not many sources are left where money can come from to make it rise even higher.

Now my question is: How and where is money coming from? I know, people invest, but at some point they take money from point A to B and don't create it. 

Is there a basic book out there which explains the basics? Not for dummies but also not for experts who assume to know everything. Maybe a pragmatic economics book?
How is it that the stocks are always rising? 


Because companies generate value.


  How is money generated every year so that the value of a company rises?


It isn't. Money is a measure of value, it is not value itself. Suppose you spend the day making a painting that's worth 100 dollars. You added one hundred dollars' worth of value to the economy, but you didn't add any actual dollars to the economy. There's no need for there an extra 100 dollars to be created for you to make the painting. If the market capitalization of a company rises from 10 billion dollars to 11 billion dollars, the amount of money that people are willing to pay for the company has increased, but the amount of money that exists hasn't increased.


  I mean, at some point there is a finite amount of money in the system


Well, the money supply is generally increasing, but that's separate from the rise of stock prices.