It's mostly differences based on the location of the stateroom on the ship.
For example, I believe the difference between 6A and 5A is that 6A is on a higher deck than a 5A.
The difference in a 6A vs a 6B might be in the style of the veranda (solid railing vs plexiglass).