In this regard (various names of the demigods, Brahma, Siva, Indra & so on are not personal names; they are names of different posts), we understand that Lord Visnu sometimes becomes Brahma or Indra when there is no suitable person to occupy these posts: Revision history
Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.