The fact that MS gets the shares of stock from Firm A and then resells it to the public makes this a Primary market transaction.
This is a transaction where a company sells its stock to the public. It can do this through an intermediary such as investment banks, or directly.
The transaction here involved the sale of shares to the public through an investment bank which is MS. This is therefore a primary transaction.
Find out more on primary market transactions at https://brainly.com/question/5704077.