If there is a shortage, it means you don't have what it takes to meet a need.
e.g. People are dying due to the water shortage.
If there is a shortfall, it means there is less of something than you expect.
e.g. The country is expecting a shortfall of over 100 homes over the next two years.