I am new to Teams app development (and development in general), just started my first app a month ago, but I think the first screenshot shows the bot name and the 2nd screenshot shows the app name.
Check if you see your app in https://dev.teams.microsoft.com/apps/ and try changing the name there.
Bot name should be changeable from https://dev.botframework.com/bots