Hamilton noted how the problems experienced by the team were completely opposite to those during the British Grand Prix a week ago, where both cars suffered front tyre blowouts in the closing laps of the race.
Speaking on the race, Hamilton was happy to be able to stay out and extend his second stint as it allowed him to pass Bottas for second in the later stages of the race but admitted he was worried of a repeat of the British Grand Prix.
The decision ultimately cost a potential victory but he affirmed the second pit stop was the right call, believing the pace from Verstappen's Red Bull would have denied him a win regardless.
"It was such a difficult race," Hamilton said.
"I mean, I love a challenge it was just an unexpected challenge and I think last race we had understeer and we were struggling with front tyres, blistering and running out.
"Then this weekend it was the complete opposite and there was nothing you could do. We were trying to go slower through the corners and it wouldn't work, so a real shock.
"Then I couldn't attack Valtteri and he was pulling away. In the second stint, I was really grateful that I was able to extend but I was thinking should I stay out.
"But I know now, I couldn't have matched Max's times and he would have caught me and the tyre might've blown out and if the rear goes that's a spin, crash in the wall so I think it was a good decision by the team."
Bahrain International Circuit - Winter testing