Question: why surah baqarah was revealed?
Answer: It is a Medinan surah, that is to say that it was supposedly revealed at Medina after the Hijrah, with the exception the verses with regard to riba (interest or usury) which Muslims believe were revealed during the Farewell Pilgrimage, the last Hajj of Muhammad.