I believe the logical conclusion to this scenario is that Mr. B suspects the stock price will drop. He has borrowed from Mr. A, and promised to give it back later. When the stock price drops, Mr. B re-purchases a share at a price lower than what he sold it for to Mr. C.
Mr. B returns the share to Mr. A, and pockets the difference. This isn't fraud, it's relatively common.