Getting pihole to work on my network

I am having issues accessing some websites when using the pihole as my dns server. It connects to most places, but for some reason I cannot access reddit, github, and a few other places. They are not on my block list either.

The DNS lookup seems to be working:

jone@phosphene notes $ nslookup reddit.com                                                                                                            14:17:00
Server:		192.168.1.64
Address:	192.168.1.64:53

Non-authoritative answer:
Name:	reddit.com
Address: 151.101.129.140
Name:	reddit.com
Address: 151.101.65.140
Name:	reddit.com
Address: 151.101.193.140
Name:	reddit.com
Address: 151.101.1.140

Non-authoritative answer:
Name:	reddit.com
Address: 2a04:4e42:200::396
Name:	reddit.com
Address: 2a04:4e42:400::396
Name:	reddit.com
Address: 2a04:4e42:600::396
Name:	reddit.com
Address: 2a04:4e42::396

jone@phosphene notes $ ping reddit.com                                                                                                                14:17:12
PING reddit.com (2a04:4e42:200::396): 56 data bytes
64 bytes from 2a04:4e42:200::396: seq=0 ttl=58 time=24.147 ms
64 bytes from 2a04:4e42:200::396: seq=1 ttl=58 time=28.103 ms
^C
--- reddit.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 24.147/26.125/28.103 ms
jone@phosphene notes $                                                14:18:33

But the browser times out every time when trying to access these sites. However, if I turn off the pihole dhcp server and use the router dhcp server, I can suddenly access these sites again.