The Boy Scouts of America say that Ryan Andresen was denied his Eagle Award because of a violation of the organization's religious principles, but the 17-year-old refutes that, saying he believes in a "higher power."

"...The only reason he's being denied the rank of Eagle is because the Boy Scouts of America has a problem with Ryan being gay," said his mother, Karen Andresen, 49.

Andresen has spent a decade completing the requirements for the coveted award, and now that he is just about to turn 18 -- the cut-off date for attaining the highest honor -- his Moraga, Calif., his troop won't approve it.

ABCNews.com has placed multiple calls and sent emails to the teen's Troop 212 scoutmaster, Rainer Del Valle, but he has not returned calls for comment.

Deron Smith, spokesman for the Boy Scouts of America, released this statement today:

"This scout proactively notified his unit leadership and Eagle Scout counselor that he does not agree to scouting's principle of 'Duty to God' and does not meet scouting's membership standard on sexual orientation. Agreeing to do one's 'Duty to God' is a part of the scout Oath and Law and a requirement of achieving the Eagle Scout rank."

Smith also said that even though the Boy Scouts does not actively ask the sexual orientation of boys, discussions with the Andresens have made Ryan "no longer eligible for membership in scouting."

He said the "ideals and principles" in the Scout Oath and Law are "central to the mission of teaching young people to make better choices over their lifetimes."

Ryan's project, a "tolerance wall," was inspired by the years of hazing he endured in middle school and later at Boy Scout summer camp, where his nicknames were "Tinkerbell" and "faggot."

"I had no idea what gay was at that point," said Andresen, who described hazing that included, among other rituals, having the word "fag" written in charcoal across his chest.

"It was really embarrassing and humiliating," he said. "And I was terrified."

In the petition, Andresen cited the merit badge -- "Citizenship in the Community."

"[It] means standing up for what is right, and I am proud of Ryan for doing just that," she wrote. "Will you stand with him, too?"

His father, Eric Andresen, who had joined the troop as the chief administrator to help his son with the bullying, was confronted by the scoutmaster and told that because Ryan was gay, he could not sign off on the project. His father resigned "on the spot."

"He wants nothing to do with the troop," said his wife.

A senior and honors student who hopes to go the University of San Francisco, Ryan joined the Boy Scouts at age 6. "He just liked the outdoors and hiking," said Karen Andresen.

Ryan came out to his parents when he was "around 16," said his mother. In July, he wrote a letter to the troop in response to a bullying incident and "thought he could help," disclosing he was gay.

Ryan said it was, in fact, Del Valle, who encouraged him to pursue the Eagle project, after dropping out of scouts for months because of the bullying.

"He was in love with my project," said Ryan, even after he had told the troop about his sexual orientation.

"He was leading me on the whole time," said Ryan, who said he thought his scoutmaster had succumbed to pressure from older leaders in the troop.

"He still hasn't had the courage to tell me himself. I am sad and confused over the whole thing," he said. "He told my Dad to tell me. I haven't heard from him since."

At the time, national spokesman Smith said that the policy was the "absolute best" for the 112-year-old organization. He said it represented "a diversity of perspectives and opinions."

The Boy Scouts is one of the largest youth organizations in the country with 2.7 million members and more than 1 million adult volunteers.

Many voices have opposed the Boy Scouts policy.

The advocacy organization GLAAD has weighed in: "The BSA is further tarnishing its organization and continuing to hurt American youth by sharing blatant misinformation about a teen they had already rejected. We commend Ryan for standing up against bullying and for his dedication to scouting. The BSA needs to end this hurtful discrimination and put the focus back on its scouts."

And those within the Boy Scouts have opposed the policy.

AT &T CEO Randall Stephenson, an executive board member of the Boy Scouts of America, has said he was committed to ending the ban. He takes over as president in 2014.

Andresen said that many troops in San Francisco's Bay Area, where the family lives, "don't care" about the national policy.

"They even sent letters that they can't abide the ban to the national council," Andresen said.

After years of bullying, Ryan struggled with cutting and an eating disorder, according to his mother.

"Everything was going against him and I needed to be his advocate," she said. "It's not his fault he was born gay. It's all so unfair and I wanted to help."

The response to her online plea to end the ban on gay scouts has been "overwhelming," said Andresen. One young man who signed the online petition even offered to renounce his own Eagle Award and send it to Ryan.

"That is huge," she said. "He said that Ryan had helped him come out of the closet."