Yeah mine has a tendency to be like this, he has his LOUD moments, although not as bad as he used to be......as I have pulled him up about it a few times
However....... He does display these traits sometimes..............
He makes comments (loudly!) in public, about random stuff, (politics and stuff in the news,) and looks around to see if people are looking at him. He also complains (when we are in a shop,) about how the customer service industry has gone down the pan with self serve tills. He says it VERY loudly whilst the staff are listening, but never says it directly to them.
He has VERY loud sneezes. WHY do men have such loud sneezes? WHY? It has to be attention seeking.
He talks loudly on the phone.
Everyone else has to know when he has got one on him. He stamps around with a face like thunder and shouts at inanimate objects. And when he is in a mood, he isn't content until everyone is as miserable as he is. Then when we are miserable too, he says 'what's wrong with YOUR face?!'
He never admits to being wrong, and even when presented with the evidence that he is the one in the wrong, he will still try and find a way to absolve himself, and sometimes blames me for stuff that is 100% not my fault.
In addition, just like other posters on here, some weeks, my husband has an obsession and keeps on about it. And he repeats things over and over again some weeks (often views on the news and politics and current affairs etc, like what he would do if he was prime minister, what he would do if he was in charge of the national health service blah blah!)
He also says things to shock sometimes, and will say (if someone cuts him up in the car) 'I hope he fucking dies of cancer!' When I ignore him, he says 'I bet you think I'm awful don't you?' Last time I said 'no.' He looked puzzled...'WHY?' he said. I said 'because you have said stuff like that so often that it's lost its shock value. And you seem disappointed when I don't react. So I can only surmise that you are saying it for a reaction.' He looks so disappointed then PMSL! 
He also exaggerates stuff, and I have caught him out in quite a few lies. Only white lies, but lies nevertheless. I had a bad cold last year, and was in bed for a few days, and he told his workmates I had been hospitalised and in intensive care for 3 days!
He also over inflates what he does at work, and makes his job sound way more superior than it actually is.
Oh and he chats over what I am watching too. So I just record it and watch it when he is at work. He will even put something on that HE wants to watch, and still chat through that. Can't seem to go 2 minutes without gabbling.
Loves to talk about his bowel movements too. What is with middle aged and older men and discussing the size of their shit, and how relieved they are now their bowel is empty. 
Why am I with him?! Well, he isn't like this ALL the time; maybe a third LOL!
I know a number of other men who are the same.
I think above all, it's an attention seeking thing. Maybe they are insecure and enjoy the attention they get.
As I said, DH isn't like this all the time, and he used to be worse, but he is like this sometimes.
It must be a craving for attention. I don't know any women who behave like this. Yet many men seem to!