In simple terms, more time to expiry $T$ increases the value of an at-the-money (ATM) option as it gives more time for the stock to rise further (or fall further in the case of a put option). This means that the potential upside of the option is greater (the downside is not as it is floored at zero). So the option is worth more. This effect has nothing to do with being able to exercise the option early.
The situation is more complicated when the option is not ATM. For example, an in-the-money put option with no dividend may see its value decrease with increasing time to expiry due to its value being driven by its intrinsic value whose present-value declines, rather than increases with increasing $T$. Another exception would be an in-the-money call option on a currency with a high interest rate.
Unless the stock is paying a dividend, the value of an American and European call option are the same - there is no advantage to being able to exercise early. For a put there can be an advantage to exercising early even if there is no dividend. So the price of an American put will be slightly higher than that of the European put option. But this is not typically a significant difference in value.
To return to the special case of an ATM forward call option where $K=Se^{rT}$ on a zero-dividend stock, the price dependence of the option price $C$ with $T$ years to expiry and a stock price $S$ is approximately proportional to the square root of the time to expiry. The approximation is:
$C(S,T) \simeq 0.4 S \sigma \sqrt{T}$
where $\sigma$ is the volatility of the stock price.
This $T$ dependency does not change very much even if the option pays a dividend. For options that are not ATM forward the $T$ dependency is more complex.