Indian markets ended with modest gains as profit booking followed an optimistic start fueled by potential US tariff reductions on Indian goods. Nifty 50 and Sensex rose slightly, while broader indices underperformed, with sector performances mixed amid renewed trade tensions.