It is probably because the Microsoft Store app has an issue. The best way to resolve this is first by resetting the Store app, resetting the weather app, and then update it. Also, make sure you have a stable internet connection before updating the apps.