Yes, you can get a shorter term loan and have a lower interest rate- 15 years is also reasonably common, and fixed rate products exist at 20 and 10 years respectively. Adjustable rate and 5/1 or 7/1 products exist as well, but they aren’t as popular or encouraged by regulators, as they played a role in the 2008 financial crisis.
As to why go for a 30 year loan instead of a lower interest rate 15 year the answer is basically cash flow and opportunity cost. A 15 year loan may result in paying less interest, but the monthly interest + principal payments are more. Your average borrower will qualify for a larger 30 year loan because the analysis is based on their ability to afford the monthly payments based on their current income.
Even people who can easily afford a 15 year loan will choose a 30 year because the 0.5-1% interest rate is lower than the expected returns of something like stocks, so it makes sense to stay leveraged. There are also tax benefits to paying interest (but not principal) on loans, but these are way less important since the trump tax reforms.
And I just reread your question, and I think you are asking about 5/1 loans. The reason there is that a) interest rates so fluctuate, a lot- they were above 9% in 1991. With a 30 year, you can choose when you refinance (there is no penalty to paying off a home loan early in the US) whereas with a 5/1 you might find yourself getting forced into a higher interest rate- potentially much higher to the point it’s unaffordable. 5/1s also actually have a higher interest rate than 15 years currently, as they aren’t considered “conforming” to various US government programs.