Every app is unique and functions differently but still, it must have been inspired by any of the competitor’s ideas. Therefore, it’s mandatory that you follow your competitors’ keyword strategy to optimize the product for better search results.
You can make this happen by using any of the ASO tools like Sensor Tower or App Annie. All you need to do is to search the competitors’ app and navigate towards the keywords to know what are the major keywords the app is ranking for.