Sentence A's use of a semicolon is meant to show a connection between two different ideas. Sentence B's use of the colon is used to precede a list or explanation.
4.9m questions
6.3m answers