If the 'write' request was sent to 'A' it will handle it and when the connection between A and B is reestablished it will sync the data between the nodes.
That's why the replication is so good in Cassandra, if a node is down, it will do the job with the rest of the nodes.