I had problems with my old Mazda3 04 that were similar. The radio would just mute itself or I don't know maybe lose connection or something and then just all of a sudden come back to life on any application. Had to replace the whole system.
Thank god that was the only problem I had with that mazda.