Singer Zara Larson has apologised to YouTube star James Charles for criticising him over messaging her boyfriend Brian Whittaker.