It depends on you.
If you really want to leave from A and join in the B in the near future, you can let B do the H1B application now. If both of them do it, you may confuse USCIS. Your later approved one will be your final one.
If you really want to leave from A and join in the B in the near future, you can let B do the H1B application now. If both of them do it, you may confuse USCIS. Your later approved one will be your final one.