Buffalo Bills quarterback Josh Allen (17) slides in for a first down against the Miami Dolphins during the second half at Hard Rock Stadium. Rich Storry-USA TODAY Sports

The Buffalo Bills showed some poor clock management in their 21-19 loss at the Miami Dolphins on Sunday.

The Bills displayed poor clock management at the end of both halves, costing themselves potential points in what was a very close game.

At the end of the first half, the game was tied at 14. The Bills had a 3rd-and-4 at the Miami 49 with no timeouts left. Josh Allen completed a pass to Isaiah McKenzie that went for 8 yards to the 41. Allen then spiked the ball to stop the clock with 14 seconds left.

On 2nd-and-10, Allen completed another pass to McKenzie that went for 7 yards to the 34. The Bills then took a shot and ran a fake spike play, throwing the ball to Stefon Diggs, who was pushed out of bounds after time expired.

Buffalo ended up not scoring any points on the possession and went into halftime tied at 14.

Things were just as bad at the end of the game.

The Bills had a 2nd-and-20 at their 47 with 18 seconds left and no timeouts. They were down by two and needed to get into field goal range. Allen avoided a sack and dumped the ball off in the middle of the field to McKenzie, who tried to get out of bounds but was tackled in the field of play after gaining 12. The Bills weren’t able to spike the ball before time ran out, and they lost.

Buffalo seemed to put a lot of trust into Allen at the end of both halves. He did not handle things well. Bills offensive coordinator Ken Dorsey certainly was fuming over the performances.

More must-reads:

TODAY'S BEST
Welcome to the WNBA: Caitlin Clark sets infamous record in debut
Jalen Brunson leads Knicks to blowout win in Game 5 vs. Pacers
Nikola Jokic torches DPOY to lead Nuggets past Wolves in Game 5
Oilers use late heroics to tie Canucks at two games each
Watch: Astros pitcher ejected after foreign substance check
Kirk Cousins not angry with Falcons because winning is 'hard enough'
Bronny James has surprising comments on potentially teaming up with LeBron
Bills add two-time Super Bowl champ to new-look WR room
Brewers lose team-leading home run hitter to injured list
Sandy Alderson denies involvement in Mets, Billy Eppler IL controversy
Twins reliever shut down for six weeks with patellar tendon tear
Chris Finch throws shade at Nuggets star over Rudy Gobert’s fine
Cardinals head coach warns not to bet against Kyler Murray
Details emerge on Jason Kelce’s role at ESPN
Rangers defenseman wins Mark Messier Leadership Award
Ex-NFL head coach takes over as Arena Football League commish
Yankees young stud takes major step in return from injury
See top groupings for Rounds 1 and 2 at 2024 PGA Championship
Former Bruins winger dead at 75
Super Bowl-winning safety plans to retire after 2024 season