Retirement tax questions

Sorry - it is a little confusing.  I did receive a 1099R for the rollover.  But then the investment company sold some stock and I received a 1099B for that sale.