Processes in the formation of ultracold NaCs