First fit puts A and B together because two halves make one full bin.
Place A
A starts the first bin with size 1/2.
first bin fill=1/2
Try B
B is tried in the first bin because first-fit checks open bins in order.
first fit checks the first bin first
A plus B
A plus B fills the first bin exactly: 1/2 + 1/2 = 1.
1/2+1/2=1
First bin full
The first bin is full, so later items must go somewhere else.
first bin fill=1