the location you live in and the annual rain fall, the sub soil conditions, and other earth movement conditions.
In Texas, we do not have any basements, ground to unstable and no bedrock.
Therefore pier and beam and slab are the foundations of choice. Pier and beam are usually on older homes and not used any more in new construction. They tend to shift and move and cause too much interior damage.
The foundation of choice is the slab with cable lock system. This foundation sort of floats around with the earth's movement and will stay in one piece. The cable lock system ties the thing together.
When I say earth movement, I am referring to the lack of water in the soil in the summer and the moisture in the fall and winter. Ground and earth are like a sponge, when wet they expand, when dry they contract and the foundations go with them.
That's why in Texas watering the foundation is a major part of keeping the home on an even keel as far as the foundation goes.
Remember this is for Texas.
Now, Missouri, won't have any of these problems because of the bedrock. The homes there rarely move around unless in cases where there is no rock substrait.
Foundations Of Choice depend on your local conditions, so you have to do your homework.