I just opened my Red Book and reread «Short history of UNIX».
Berkley University bought license for AT&T UNIX[1] in 1977. They started to develop their own software for UNIX and distribute it, so this variant of UNIX is called BSD. Then they decide to remove and rewrite original AT&T code, due to license and associated costs, and released 4.3BSD[2], which then used by BSD flavors.
So BSD is UNIX, but it contains no AT&T code today.
[1] http://www.nordier.com/v7x86/index.html
[2] https://virtuallyfun.superglobalmegacorp.com/category/4-3-bs...