This is normal to see in a swinging market. In a swinging market, grid bot will perform better than infinity bot, since the main purposes of grid bot is to catch volatility within a certain ranges. Meanwhile infinity bot will outperform grid bot in a trend market. This could happen because infinity bot will always keep a portion of your tokens to be hold , even if the price going to infinity.
Choice which bot suits your trading strategy better. You can also tweak the bot settings to do another purposes, such as very wide grid bot for long term and holding , or very tight infinity bot to catch short term volatility while holding