If you are building a huge app or an app for multiple customers, having a test automation make it easier for you to retest your solution when you make changes to the the app.
A simple change may break your app, and you don't want to spend hours redoing all your test manually every time you introduce changes.
However, it is quite resource costly to create an automated test as well. So there are times when it makes sense not to have one.