Cubase can only use one device driver at a time. If you are using the Yamaha ASIO, the Focusrite is basically not functioning. If you want to use the Yamaha as your selected ASIO device, all audio connections (headphones, speakers) need to be output from that hardware, not the Focusrite.