Why share price drop after dividend

Could someone explain: how do share prices increase? I’m trying to understand how this works as a beginner in the stock market.