This is a good question and I can see where some confusion can arise. Lymphocytes are a class of cells that include both B and T cells among others. They both have the same precursor cell that being a small lymphocyte [1,2]. The small lymphocyte will grow into a large lymphocyte then differentiate into a pro-B-cell or a pro-T-cell . After differentiation the pro-B-cells are "trained" in the bone marrow and the pro-T-cells are "trained" in the thymus [4,5]. The processes of training for both B and T cells are active areas of research and are quite interesting if a bit confusing.
"Lymphoid tissue has several different structural organizations related to its particular function in the immune response. The most highly organized lymphoid tissues are in the thymus and lymph nodes, which are well-defined encapsulated organs with easily identifiable architectures. In the spleen (a soft, purplish organ lying high in the abdomen), the lymphoid tissue is a cylinder of loosely organized cells surrounding small arteries. In the bone marrow this tissue is mixed with the blood-forming cells, and no organization is apparent."
It is true that red blood cells are produced in the bone marrow and are somewhat related to lymphocytes. They are cousins to each other in some way .
I hope this helped show the differences in the maturation of T and B cells and cleared up some confusion for you. If you would like to know more I would recommend picking up an immunology book. I used this one  and quite liked it when I was taking immunology.