I read a lot of people complaining online about how unlikely it was that Walt or Gus could have got the poison and given it to Brock. They also complained about Gus' "sixth sense". They thought the writing was weak and unbelievable. But.... We don't know any of the reasons yet, and I am sure they will be explained in later episodes.