Adolescents are known for their mood swings and changes in behavior.
Joshua may be acting differently around different people because he is trying to fit in or because he is feeling insecure about who he is.
He may also be experimenting with different ways of expressing himself.