Why is the stock market always rising?
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.