10

During a surprise 42nd birthday party for wealthy, well-known composer George Webber (Dudley Moore), thrown by his actress girlfriend Samantha Taylor (Julie Andrews), he finds he's coping badly with incipient middle age. From his car, George glimpses a bride-to-be (Bo Derek) and is instantly obsessed by her beauty, following her to the church, where he crashes into a police cruiser, is stung by a bee and nearly disrupts the wedding ceremony.
George visits the priest, and learns the woman is Jenny Miles, daughter of a prominent Beverly Hills dentist. Later that night, Sam and George have an argument about George's failure to give her the attention she needs, his use of the term "broad", and the fact that he uses a telescope to watch a neighbor (a wealthy porn producer) perform carnal acts. The final straw for Sam occurs when George makes a remark subtly impugning her femininity, at which point Sam leaves in a huff.
The following day, George spies on his neighbor again, hits himself with the telescope and falls down an embankment, causing him to miss Sam's phone call. Still obsessed with the young bride, George schedules a dental appointment with Jenny's father and learns Jenny and her husband went to Mexico for their honeymoon. The examination reveals a mouthful of cavities, requiring fillings in George's teeth. The after effects of the novocaine, aggravated by his heavy drinking, leave George completely incoherent. Sam finally reaches him on the phone but mistakes him for an intruder and calls the police, who hold George at gunpoint while trying to understand his gibberish. Unnerved by the day's events, George visits his neighbor's house to take part in an orgy. Sam arrives at George's and spots him through his telescope, widening the rift between them.
While his songwriting partner Hugh (Robert Webber) consoles Sam and says she will need to decide how long to wait for George to grow up, George impulsively boards a plane and follows the newlyweds to their exclusive resort in Manzanillo, Colima, Mexico. In the bar, George becomes acquainted with a friendly bartender (Brian Dennehy), plays the piano and encounters an old acquaintance, Mary Lewis (Dee Wallace), who suffers from a lack of self-confidence because she blames herself for a series of failed relationships. When they attempt a fling, Mary interprets George's inadequacy in bed as confirmation of her own insecurities.
At the beach, George sees Jennyâwearing a swimsuit with her hair braided in cornrowsâand is awestruck again by her beauty. He notices that David, her husband (Sam J. Jones), has fallen asleep on his surfboard. George learns that beyond a certain point are powerful currents that can sweep a swimmer or surfer dangerously far from land. He rents a catamaran, clumsily but successfully rescues David, and becomes a hero. Sam sees him on a TV newscast and tries to contact him, but George (unaware that it is Sam) refuses the call. David, badly sunburned, is hospitalized, allowing Jenny and George to spend time alone together. After dinner, in her room, Jenny smokes a marijuana joint and then seduces George to the sounds of Ravel's BolÃ©ro.
Although George is initially elated to find all of his fantasies being fulfilled, he is horrified when Jenny takes a call from her husband while in bed with him and casually informs him of George's presence. He is even more confused when David responds with a complete lack of concern (he had called to thank George for saving his life). When Jenny explains their open relationship and mutual honesty and that they only got married due to pressure from her conservative father, George is appalled; realizing that in contrast to the complete infatuation he has had with her, Jenny sees him as nothing more than a "casual lay," George loses interest.
Flying back home, George reconciles with Sam by apologizing and demonstrating a new maturity. Taking an idea from Jenny, he starts Ravel's BolÃ©ro on the phonograph and they make love with the music playing in the background. This is in full view of the neighbor's telescope, shortly after the neighbor has walked away in disgust, complaining that he has had enough of providing erotic entertainment to George and getting nothing in return.

Question: Why was David hospitalized?
Answer: For severe sunburn